home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / GNUstep / Makefiles / filesystem.csh < prev    next >
Encoding:
Text File  |  2010-05-31  |  9.0 KB  |  303 lines

  1. #   This file must be sourced inside csh using: source
  2. #
  3. #   filesystem.csh.  Generated from filesystem.csh.in by configure.
  4. #
  5. #   Sets up the GNUstep filesystem paths for shell scripts
  6. #
  7. #   Copyright (C) 2007 Free Software Foundation, Inc.
  8. #
  9. #   Author:  Nicola Pero <nicola.pero@meta-innovation.com>,
  10. #            
  11. #   Date:  February 2007
  12. #
  13. #   This file is part of the GNUstep Makefile Package.
  14. #
  15. #   This library is free software; you can redistribute it and/or
  16. #   modify it under the terms of the GNU General Public License
  17. #   as published by the Free Software Foundation; either version 3
  18. #   of the License, or (at your option) any later version.
  19. #   
  20. #   You should have received a copy of the GNU General Public
  21. #   License along with this library; see the file COPYING.
  22. #   If not, write to the Free Software Foundation,
  23. #   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  24.  
  25. #
  26. # This does the same as filesystem.sh, but for csh.
  27. #
  28.  
  29. # IMPORTANT: tcsh v6.12 has a maximum variable size of 30 characters.
  30. # So all variables should have names that are below that size.
  31.  
  32. #
  33. # Location of Users directories ... never used by gnustep-make.
  34. #
  35. if ( ! ${?GNUSTEP_SYSTEM_USERS_DIR} ) then
  36.   setenv GNUSTEP_SYSTEM_USERS_DIR "/home"
  37. endif
  38. if ( ! ${?GNUSTEP_NETWORK_USERS_DIR} ) then
  39.   setenv GNUSTEP_NETWORK_USERS_DIR "/home"
  40. endif
  41. if ( ! ${?GNUSTEP_LOCAL_USERS_DIR} ) then
  42.   setenv GNUSTEP_LOCAL_USERS_DIR "/home"
  43. endif
  44.  
  45. #
  46. # SYSTEM domain
  47. #
  48. if ( ! ${?GNUSTEP_SYSTEM_APPS} ) then
  49.   setenv GNUSTEP_SYSTEM_APPS "/usr/lib/GNUstep/Applications"
  50. endif
  51. if ( ! ${?GNUSTEP_SYSTEM_ADMIN_APPS} ) then
  52.   setenv GNUSTEP_SYSTEM_ADMIN_APPS "/usr/lib/GNUstep/Applications"
  53. endif
  54. if ( ! ${?GNUSTEP_SYSTEM_WEB_APPS} ) then
  55.   setenv GNUSTEP_SYSTEM_WEB_APPS "/usr/lib/GNUstep/WebApplications"
  56. endif
  57. if ( ! ${?GNUSTEP_SYSTEM_TOOLS} ) then
  58.   setenv GNUSTEP_SYSTEM_TOOLS "/usr/bin"
  59. endif
  60. if ( ! ${?GNUSTEP_SYSTEM_ADMIN_TOOLS} ) then
  61.   setenv GNUSTEP_SYSTEM_ADMIN_TOOLS "/usr/sbin"
  62. endif
  63. if ( ! ${?GNUSTEP_SYSTEM_LIBRARY} ) then
  64.   setenv GNUSTEP_SYSTEM_LIBRARY "/usr/lib/GNUstep"
  65. endif
  66. if ( ! ${?GNUSTEP_SYSTEM_HEADERS} ) then
  67.   setenv GNUSTEP_SYSTEM_HEADERS "/usr/include/GNUstep"
  68. endif
  69. if ( ! ${?GNUSTEP_SYSTEM_LIBRARIES} ) then
  70.   setenv GNUSTEP_SYSTEM_LIBRARIES "/usr/lib"
  71. endif
  72. if ( ! ${?GNUSTEP_SYSTEM_DOC} ) then
  73.   setenv GNUSTEP_SYSTEM_DOC "/usr/share/GNUstep/Documentation"
  74. endif
  75. if ( ! ${?GNUSTEP_SYSTEM_DOC_MAN} ) then
  76.   setenv GNUSTEP_SYSTEM_DOC_MAN "/usr/share/man"
  77. endif
  78. if ( ! ${?GNUSTEP_SYSTEM_DOC_INFO} ) then
  79.   setenv GNUSTEP_SYSTEM_DOC_INFO "/usr/share/info"
  80. endif
  81.  
  82. #
  83. # NETWORK domain
  84. #
  85. if ( ! ${?GNUSTEP_NETWORK_APPS} ) then
  86.   setenv GNUSTEP_NETWORK_APPS "/usr/local/lib/GNUstep/Applications"
  87. endif
  88. if ( ! ${?GNUSTEP_NETWORK_ADMIN_APPS} ) then
  89.   setenv GNUSTEP_NETWORK_ADMIN_APPS "/usr/local/lib/GNUstep/Applications"
  90. endif
  91. if ( ! ${?GNUSTEP_NETWORK_WEB_APPS} ) then
  92.   setenv GNUSTEP_NETWORK_WEB_APPS "/usr/lib/GNUstep/WebApplications"
  93. endif
  94. if ( ! ${?GNUSTEP_NETWORK_TOOLS} ) then
  95.   setenv GNUSTEP_NETWORK_TOOLS "/usr/local/bin"
  96. endif
  97. if ( ! ${?GNUSTEP_NETWORK_ADMIN_TOOLS} ) then
  98.   setenv GNUSTEP_NETWORK_ADMIN_TOOLS "/usr/local/sbin"
  99. endif
  100. if ( ! ${?GNUSTEP_NETWORK_LIBRARY} ) then
  101.   setenv GNUSTEP_NETWORK_LIBRARY "/usr/local/lib/GNUstep"
  102. endif
  103. if ( ! ${?GNUSTEP_NETWORK_HEADERS} ) then
  104.   setenv GNUSTEP_NETWORK_HEADERS "/usr/local/include/GNUstep"
  105. endif
  106. if ( ! ${?GNUSTEP_NETWORK_LIBRARIES} ) then
  107.   setenv GNUSTEP_NETWORK_LIBRARIES "/usr/local/lib"
  108. endif
  109. if ( ! ${?GNUSTEP_NETWORK_DOC} ) then
  110.   setenv GNUSTEP_NETWORK_DOC "/usr/local/share/GNUstep/Documentation"
  111. endif
  112. if ( ! ${?GNUSTEP_NETWORK_DOC_MAN} ) then
  113.   setenv GNUSTEP_NETWORK_DOC_MAN "/usr/local/share/man"
  114. endif
  115. if ( ! ${?GNUSTEP_NETWORK_DOC_INFO} ) then
  116.   setenv GNUSTEP_NETWORK_DOC_INFO "/usr/local/share/info"
  117. endif
  118.  
  119. #
  120. # LOCAL domain
  121. #
  122. if ( ! ${?GNUSTEP_LOCAL_APPS} ) then
  123.   setenv GNUSTEP_LOCAL_APPS "/usr/local/lib/GNUstep/Applications"
  124. endif
  125. if ( ! ${?GNUSTEP_LOCAL_ADMIN_APPS} ) then
  126.   setenv GNUSTEP_LOCAL_ADMIN_APPS "/usr/local/lib/GNUstep/Applications"
  127. endif
  128. if ( ! ${?GNUSTEP_LOCAL_WEB_APPS} ) then
  129.   setenv GNUSTEP_LOCAL_WEB_APPS "/usr/local/lib/GNUstep/WebApplications"
  130. endif
  131. if ( ! ${?GNUSTEP_LOCAL_TOOLS} ) then
  132.   setenv GNUSTEP_LOCAL_TOOLS "/usr/local/bin"
  133. endif
  134. if ( ! ${?GNUSTEP_LOCAL_ADMIN_TOOLS} ) then
  135.   setenv GNUSTEP_LOCAL_ADMIN_TOOLS "/usr/local/sbin"
  136. endif
  137. if ( ! ${?GNUSTEP_LOCAL_LIBRARY} ) then
  138.   setenv GNUSTEP_LOCAL_LIBRARY "/usr/local/lib/GNUstep"
  139. endif
  140. if ( ! ${?GNUSTEP_LOCAL_HEADERS} ) then
  141.   setenv GNUSTEP_LOCAL_HEADERS "/usr/local/include/GNUstep"
  142. endif
  143. if ( ! ${?GNUSTEP_LOCAL_LIBRARIES} ) then
  144.   setenv GNUSTEP_LOCAL_LIBRARIES "/usr/local/lib"
  145. endif
  146. if ( ! ${?GNUSTEP_LOCAL_DOC} ) then
  147.   setenv GNUSTEP_LOCAL_DOC "/usr/local/share/GNUstep/Documentation"
  148. endif
  149. if ( ! ${?GNUSTEP_LOCAL_DOC_MAN} ) then
  150.   setenv GNUSTEP_LOCAL_DOC_MAN "/usr/local/share/man"
  151. endif
  152. if ( ! ${?GNUSTEP_LOCAL_DOC_INFO} ) then
  153.   setenv GNUSTEP_LOCAL_DOC_INFO "/usr/local/share/info"
  154. endif
  155.  
  156. #
  157. # USER domain
  158. #
  159. if ( ! ${?GNUSTEP_USER_DIR_APPS} ) then
  160.   setenv GNUSTEP_USER_DIR_APPS "GNUstep/Applications"
  161. endif
  162. if ( ! ${?GNUSTEP_USER_DIR_ADMIN_APPS} ) then
  163.   setenv GNUSTEP_USER_DIR_ADMIN_APPS "GNUstep/Applications/Admin"
  164. endif
  165. if ( ! ${?GNUSTEP_USER_DIR_WEB_APPS} ) then
  166.   setenv GNUSTEP_USER_DIR_WEB_APPS "GNUstep/WebApplications"
  167. endif
  168. if ( ! ${?GNUSTEP_USER_DIR_TOOLS} ) then
  169.   setenv GNUSTEP_USER_DIR_TOOLS "GNUstep/Tools"
  170. endif
  171. if ( ! ${?GNUSTEP_USER_DIR_ADMIN_TOOLS} ) then
  172.   setenv GNUSTEP_USER_DIR_ADMIN_TOOLS "GNUstep/Tools/Admin"
  173. endif
  174. if ( ! ${?GNUSTEP_USER_DIR_LIBRARY} ) then
  175.   setenv GNUSTEP_USER_DIR_LIBRARY "GNUstep/Library"
  176. endif
  177. if ( ! ${?GNUSTEP_USER_DIR_HEADERS} ) then
  178.   setenv GNUSTEP_USER_DIR_HEADERS "GNUstep/Library/Headers"
  179. endif
  180. if ( ! ${?GNUSTEP_USER_DIR_LIBRARIES} ) then
  181.   setenv GNUSTEP_USER_DIR_LIBRARIES "GNUstep/Library/Libraries"
  182. endif
  183. if ( ! ${?GNUSTEP_USER_DIR_DOC} ) then
  184.   setenv GNUSTEP_USER_DIR_DOC "GNUstep/Library/Documentation"
  185. endif
  186. if ( ! ${?GNUSTEP_USER_DIR_DOC_MAN} ) then
  187.   setenv GNUSTEP_USER_DIR_DOC_MAN "GNUstep/Library/Documentation/man"
  188. endif
  189. if ( ! ${?GNUSTEP_USER_DIR_DOC_INFO} ) then
  190.   setenv GNUSTEP_USER_DIR_DOC_INFO "GNUstep/Library/Documentation/info"
  191. endif
  192.  
  193. switch ("${GNUSTEP_USER_DIR_APPS}")
  194.  case /*: # An absolute path
  195.    setenv GNUSTEP_USER_APPS "${GNUSTEP_USER_DIR_APPS}"
  196.    breaksw
  197.  default: # Something else
  198.    setenv GNUSTEP_USER_APPS "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_APPS}"
  199.    breaksw
  200. endsw
  201.  
  202. switch ("${GNUSTEP_USER_DIR_ADMIN_APPS}")
  203.  case /*: # An absolute path
  204.    setenv GNUSTEP_USER_ADMIN_APPS "${GNUSTEP_USER_DIR_ADMIN_APPS}"
  205.    breaksw
  206.  default: # Something else
  207.    setenv GNUSTEP_USER_ADMIN_APPS "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_ADMIN_APPS}"
  208.    breaksw
  209. endsw
  210.  
  211. switch ("${GNUSTEP_USER_DIR_WEB_APPS}")
  212.  case /*: # An absolute path
  213.    setenv GNUSTEP_USER_WEB_APPS "${GNUSTEP_USER_DIR_WEB_APPS}"
  214.    breaksw
  215.  default: # Something else
  216.    setenv GNUSTEP_USER_WEB_APPS "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_WEB_APPS}"
  217.    breaksw
  218. endsw
  219.  
  220. switch ("${GNUSTEP_USER_DIR_TOOLS}")
  221.  case /*:
  222.    setenv GNUSTEP_USER_TOOLS "${GNUSTEP_USER_DIR_TOOLS}"
  223.    breaksw
  224.  default:
  225.    setenv GNUSTEP_USER_TOOLS "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_TOOLS}"
  226.    breaksw
  227. endsw
  228.  
  229. switch ("${GNUSTEP_USER_DIR_ADMIN_TOOLS}")
  230.  case /*:
  231.    setenv GNUSTEP_USER_ADMIN_TOOLS "${GNUSTEP_USER_DIR_ADMIN_TOOLS}"
  232.    breaksw
  233.  default:
  234.    setenv GNUSTEP_USER_ADMIN_TOOLS "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_ADMIN_TOOLS}"
  235.    breaksw
  236. endsw
  237.  
  238. switch ("${GNUSTEP_USER_DIR_LIBRARY}")
  239.  case /*:
  240.    setenv GNUSTEP_USER_LIBRARY "${GNUSTEP_USER_DIR_LIBRARY}"
  241.    breaksw
  242.  default:
  243.    setenv GNUSTEP_USER_LIBRARY "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_LIBRARY}"
  244.    breaksw
  245. endsw
  246.  
  247. switch ("${GNUSTEP_USER_DIR_HEADERS}")
  248.  case /*:
  249.    setenv GNUSTEP_USER_HEADERS "${GNUSTEP_USER_DIR_HEADERS}"
  250.    breaksw
  251.  default:
  252.    setenv GNUSTEP_USER_HEADERS "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_HEADERS}"
  253.    breaksw
  254. endsw
  255.  
  256. switch ("${GNUSTEP_USER_DIR_LIBRARIES}")
  257.  case /*:
  258.    setenv GNUSTEP_USER_LIBRARIES "${GNUSTEP_USER_DIR_LIBRARIES}"
  259.    breaksw
  260.  default:
  261.    setenv GNUSTEP_USER_LIBRARIES "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_LIBRARIES}"
  262.    breaksw
  263. endsw
  264.  
  265. switch ("${GNUSTEP_USER_DIR_DOC}")
  266.  case /*:
  267.    setenv GNUSTEP_USER_DOC "${GNUSTEP_USER_DIR_DOC}"
  268.    breaksw
  269.  default:
  270.    setenv GNUSTEP_USER_DOC "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_DOC}"
  271.    breaksw
  272. endsw
  273.  
  274. switch ("${GNUSTEP_USER_DIR_DOC_MAN}")
  275.  case /*:
  276.    setenv GNUSTEP_USER_DOC_MAN "${GNUSTEP_USER_DIR_DOC_MAN}"
  277.    breaksw
  278.  default:
  279.    setenv GNUSTEP_USER_DOC_MAN "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_DOC_MAN}"
  280.    breaksw
  281. endsw
  282.  
  283. switch ("${GNUSTEP_USER_DIR_DOC_INFO}")
  284.  case /*:
  285.    setenv GNUSTEP_USER_DOC_INFO "${GNUSTEP_USER_DIR_DOC_INFO}"
  286.    breaksw
  287.  default:
  288.    setenv GNUSTEP_USER_DOC_INFO "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_DOC_INFO}"
  289.    breaksw
  290. endsw
  291.  
  292. unsetenv GNUSTEP_USER_DIR_APPS 
  293. unsetenv GNUSTEP_USER_DIR_ADMIN_APPS 
  294. unsetenv GNUSTEP_USER_DIR_WEB_APPS 
  295. unsetenv GNUSTEP_USER_DIR_TOOLS 
  296. unsetenv GNUSTEP_USER_DIR_ADMIN_TOOLS 
  297. unsetenv GNUSTEP_USER_DIR_LIBRARY
  298. unsetenv GNUSTEP_USER_DIR_HEADERS 
  299. unsetenv GNUSTEP_USER_DIR_LIBRARIES 
  300. unsetenv GNUSTEP_USER_DIR_DOC 
  301. unsetenv GNUSTEP_USER_DIR_DOC_MAN
  302. unsetenv GNUSTEP_USER_DIR_DOC_INFO
  303.